﻿using System.Xml.Serialization;
using Microsoft.Xna.Framework;
using XnaPlus.Common.Interfaces;

namespace EscapeZone.Mapping.Elements
{
    [XmlType("Spawn")]
    public class Spawn : IPositionable, IMapElement
    {
        [XmlElement("Position")]
        public Vector2 Position { get; set; }

        public ElementType Type
        {
            get { return ElementType.Spawn; }
        }
    }
}
